<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%@ taglib prefix="s" uri="/struts-tags" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
  <link rel="stylesheet" href="../resource/css/alink.css" type="text/css"></link>
<link rel="stylesheet" href="../resource/css/common.css" type="text/css"></link>
     <s:include value="../resource/JsAndstyle.jsp"></s:include>
    <title>My JSP 'menu.jsp' starting page</title>

  </head>
  
  <body>
   登陆成功
   <s:property value="#session.userTypeid" />
   <s:property value="%{#session.loginUser.loginName}" />
   <s:property value="#session.loginUser.loginName" />
    <s:if test='#session.loginUser.loginName=="admin"'>
     <s:property value="%{#session.loginUser.loginName}" />
   </s:if>
    <s:if test='#session.userTypeid==5'>
     <s:property value="%{#session.loginUser.loginName}" />
   </s:if>
   <s:set name="test" value="'http://'" />
   <a href=" <s:property value="#test" />www.baidu.com" >百度</a>
  
 
  </body>
</html>
